package com.ycp.erp.supplier.model.bean;

import com.one.common.utils.StringUtils;

import java.io.Serializable;

/**
 * Class Des:
 * Created by bjh on 2021/9/1.
 */
public class SupplierBean implements Serializable {
    private String name;
    private String phone;
    private String addr;
    private boolean Selected;

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public boolean isSelected() {
        return Selected;
    }

    public void setSelected(boolean selected) {
        Selected = selected;
    }

    public String getName() {
        return name;
    }
    public String getFirstName(){
        return StringUtils.isBlank(name)?"":name.substring(0,1);
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
